package com.ray.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.ray.bean.DepartmentDropdownBean;
import com.ray.bean.DutyBean;
import com.ray.bean.OrderBean;
import com.ray.bean.ReportBean;
import com.ray.pojo.Department;

public interface DepartmentMapper {

	//根据企业微信id查找部门
	Department getDepartmentByWeiXin(@Param("dd")Department dd);

	//修改部门名称
	void updateDepartmrnt(@Param("dd")Department dd);

	//插入新部门
	void insertDepartment(@Param("dd")Department dd);

	//通过部门代码获取部门名称
	List<String> getDepartmentName(@Param("deptId")String[] deptId);
	 
	List<DepartmentDropdownBean> getDepartmentDropdowns(Map map);
}